Javascript Getting Uncaught Syntaxerror Unexpected Token { Error

Javascript Getting Uncaught Syntaxerror Unexpected Token { Error